<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- 引入样式文件和动态控制 -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-3.4.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/show.css">
    <script src="layui/layui.js"></script>
    <!--主要样式控制-->
    <link href="css/main.css" rel="stylesheet">
    <script>
        $(function(){
            $("#acc").accordion();
        });
    </script>
    <script type="text/javascript">
        $(".nav li").click(function() {
            $(".active").removeClass('active');
            $(this).addClass("active");
        });
    </script>
	<title>kamisama</title>
</head>
<body>
<!--顶部导航栏部分-->
<nav class="navbar navbar-inverse" style="background-color: #62b1a5; border:1px #69bcb0;">
    <div class="container-fluid" style="background-color: #62b1a5;">
        <div class="navbar-header" style="background-color: #62b1a5;">
            <a class="navbar-brand" title="logoTitle" th:href="@{/home}" style="color: #333;margin-left: 46px;">kamisama</a>
		</div>
		<div class="collapse navbar-collapse" style="background-color: #62b1a5;">
			<ul class="nav navbar-nav navbar-right" style="background-color: #62b1a5;">
				<li role="presentation" style="background-color: #62b1a5;"></li>
                <li>
                    <span style="line-height: 51px; color: #336;" th:text="${session.USER_SESSION.username}">kamisama</span>
                </li>
				<li style="margin-right: 40px;">
                   <a href="/logout" style="color:#336;">退出</a>
				</li>
            </ul>
		</div>
    </div>      
</nav>

<!-- 中间主体内容部分 -->
<div class="pageContainer">
     <!-- 左侧导航栏 -->
     <div class="pageSidebar" id="acc">
         <ul class="nav nav-stacked nav-pills">
             <li role="presentation">
                 <a href="/blogmanage" target="mainFrame" >博客管理</a>
             </li>
             <li role="presentation">
                 <a href="/newblog" target="mainFrame">博客撰写</a>
             </li>
             <li role="presentation">
                 <a href="/gallerymanage" target="mainFrame">图集管理</a>
             </li>
             <li role="presentation">
                <a href="/comment" target="mainFrame">消息管理</a>
            </li>
             <!-- 开始 -->
             <li class="dropdown">
                 <a class="dropdown-toggle" id="my" data-toggle="dropdown" target="mainFrame" onclick="hd()">
                     个人设置<span class="caret"></span>
                 </a>
                 <ul class="dropdown-menu">
                     <li>
                         <a href="/update" target="mainFrame">修改密码</a>
                     </li>
                     <li>
                         <a th:href="@{/home}">返回前端</a>
                     </li>
                     <li>
                        <!--<a href="login.html">退出登录</a>-->
                    </li>
                 </ul>
             </li>
			 
             <!-- 结束 -->
<!--             <li role="presentation">
                 <a href="nav5.html" target="mainFrame">权限设置</a>
             </li> -->



         </ul>
     </div>

      <!-- 左侧导航和正文内容的分隔线 -->
     <div class="splitter"></div>
     <!-- 正文内容部分 -->
    <div class="pageContent">
        <iframe src="/blogmanage" id="mainFrame" name="mainFrame" frameborder="0" width="100%"  height="100%">
        </iframe>
    </div>

 </div>
  <!-- 底部页脚部分 -->
 <div class="footer">
     <p class="text-center">
         2021 &copy; kamisama.
     </p>
 </div>

</body>
</html>

